home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / GameKit / gamekit-1 / buildit < prev    next >
Text File  |  1995-06-12  |  897b  |  27 lines

  1. #!/bin/sh
  2. # install script.  I should really make this a make install target.
  3. # I use this to build all four libraries (debug/not, with musickit/not)
  4. # and install them.
  5. cd /Net/darth/Users/don/Projects/Play/Games/gamekit_proj/gamekit-1
  6. cp Makefile.mk Makefile
  7. make clean
  8. # make the pswraps first so that we have the header
  9. make GKText.c
  10. cp GKText.h ../Headers/gamekit
  11. make gamekit
  12. make debug
  13. mv libgamekit.a libgamekit_mk.a
  14. mv libgamekit_g.a libgamekit_mk_g.a
  15. cp Makefile.nomk Makefile
  16. rm -rf obj debug_obj
  17. make gamekit
  18. make debug
  19. cp libgamekit.a libgamekit_g.a libgamekit_mk.a libgamekit_mk_g.a /usr/local/lib
  20. ranlib /usr/local/lib/libgamekit.a
  21. ranlib /usr/local/lib/libgamekit_g.a
  22. ranlib /usr/local/lib/libgamekit_mk.a
  23. ranlib /usr/local/lib/libgamekit_mk_g.a
  24. rm -rf /LocalDeveloper/Headers/gamekit
  25. cp -r ../Headers/gamekit /LocalDeveloper/Headers
  26. sndplay /LocalLibrary/Sounds/RedAlertSiren.snd
  27.